<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table align="center"><font size="5" color="##007979">用户权限管理</font></table>
<br>
<table align="center">
<tr>
<table align="center">
<tr><td>用户表</td></tr>
<TR bgcolor="#9D9D9D">
		<TD>编码</TD>
		<TD>用户名</TD>
		<TD>密码</TD>
		<TD>电话</TD>
		<TD>用户类型</TD>
		<TD>权限操作</TD>
	</TR>
	<logic:present name="user_list">
	<logic:iterate id="user" name="user_list" scope="request">
	<TR>
		<TD><bean:write name="user" property="id" scope="page" format="#"/></TD>
		<TD><bean:write name="user" property="name" scope="page"/></TD>
		<TD><bean:write name="user" property="passWord" scope="page" /></TD>
		<TD><bean:write name="user" property="phone" scope="page" /></TD>
		<TD><bean:write name="user" property="type" scope="page" /></TD>
		<TD>
		<form name="form1" method="post" action='user.do?method=editPrivilege&id=<bean:write name="user" property="id" scope="page" format="#"/>'>
			<select name="type"> 				
  				<option value ="商家">商家</option>
  				<option value ="客服">客服</option>
  				<option value ="管理员">管理员</option>
			</select>
		<input type="submit" name="button" id="button" value="确定">
		</form>
		</TD>
		
	</TR>
	</logic:iterate>
	</logic:present>
</table>
</body>
</html>